package com.zhangshuo.patternDesign.command;

/**
 * Created by shuo.zhang on 2017-10-23.
 */
public class Programmer {

    private String name;

    public Programmer(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void handleDemand(){
        System.out.println("程序员" + name + "处理新需求");
    }

    public void handleBug(){
        System.out.println("程序员" + name + "处理BUG");
    }

    public void handleProblem(){
        System.out.println("程序员" + name + "处理异常");
    }
}
